let leftBar = [
  {
    id: 'FloderTree',
    version: '0.0.1',
    description: 'Extension for Coding WebIDE, manage IDE environment',
    main: 'index.js',
    type: 'extension',
    ui: {
      position: 'left',
      label: {
        text: '资源管理器',
        icon: 'fa fa-files-o'
      }
    }
  }
]

let labels = function () {
  const results = leftBar.map((item) => {
    let label = item.ui.label
    return { ...label, viewId: item.id }
  })
  return results
}

export default labels()
